package com.eb.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
//帖子详情信息
public class InnovationDetailVo {
    private Integer id;
    private String title;     //帖子标题
    private String  content;   //帖子内容
    private String  tag;      //帖子标签
    private String  regionName;        //区域名称
    private String   userNickname;       //用户名称
    private Integer status;    //帖子状态 0 禁用 1启用
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;   // 创建时间
    private Long likenum; //点赞数
    private Long commentnum; //评论数
    private Long looknum; //浏览量
    private Long preservenum; //收藏量
    private List<String> images;      //图片列表
    private List<CommentVo> commentVos;     //评论列表展示
}
